package com.hnbtr.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Class {
	private Integer id;
	private Integer class_type_id;
	private Integer class_number;
	private Integer student_number;
	private Integer taught_lesson_hour;
	private Integer total_lesson_hour;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern = "yyyy-MM-dd")
	private Date start_time;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern = "yyyy-MM-dd")
	private Date end_time;
	private Integer institution_id;
	private ClassType class_type;
	private Institution institution;
	private int del_status;
	private List<Teacher> teachers = new ArrayList<Teacher>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getClass_type_id() {
		return class_type_id;
	}
	public void setClass_type_id(Integer class_type_id) {
		this.class_type_id = class_type_id;
	}
	public Integer getClass_number() {
		return class_number;
	}
	public void setClass_number(Integer class_number) {
		this.class_number = class_number;
	}
	public Integer getStudent_number() {
		return student_number;
	}
	public void setStudent_number(Integer student_number) {
		this.student_number = student_number;
	}
	public Integer getTaught_lesson_hour() {
		return taught_lesson_hour;
	}
	public void setTaught_lesson_hour(Integer taught_lesson_hour) {
		this.taught_lesson_hour = taught_lesson_hour;
	}
	public Integer getTotal_lesson_hour() {
		return total_lesson_hour;
	}
	public void setTotal_lesson_hour(Integer total_lesson_hour) {
		this.total_lesson_hour = total_lesson_hour;
	}
	public Date getStart_time() {
		return start_time;
	}
	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}
	public Date getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}
	public Integer getInstitution_id() {
		return institution_id;
	}
	public void setInstitution_id(Integer institution_id) {
		this.institution_id = institution_id;
	}
	public ClassType getClass_type() {
		return class_type;
	}
	public void setClass_type(ClassType class_type) {
		this.class_type = class_type;
	}
	public Institution getInstitution() {
		return institution;
	}
	public void setInstitution(Institution institution) {
		this.institution = institution;
	}
	public int getDel_status() {
		return del_status;
	}
	public void setDel_status(int del_status) {
		this.del_status = del_status;
	}
	public List<Teacher> getTeachers() {
		return teachers;
	}
	public void setTeachers(List<Teacher> teachers) {
		this.teachers = teachers;
	}
	@Override
	public String toString() {
		return "Class [id=" + id + ", class_type_id=" + class_type_id + ", class_number=" + class_number
				+ ", student_number=" + student_number + ", taught_lesson_hour=" + taught_lesson_hour
				+ ", total_lesson_hour=" + total_lesson_hour + ", start_time=" + start_time + ", end_time=" + end_time
				+ ", institution_id=" + institution_id + ", class_type=" + class_type + ", institution=" + institution
				+ ", del_status=" + del_status + ", teachers=" + teachers + "]";
	}
}
